package cn.buk.tms.eotms.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 用于报表的增值服务
 * @author william
 *
 */
public class ReportVasDto extends ReportBaseDto {

	private final int productType;
	private final String productName;
	private final int count;

	public ReportVasDto(int productType, String productName, Date opDate, String remark,
											double price, double discount, double total, int count,
											String op1, int billId, String bePaid0) {

		super(op1, opDate, billId, total,
						bePaid0 == null ? 0 : Integer.parseInt(bePaid0));

		this.productType = productType;
		this.productName = productName;

		this.price = price;
		this.discount = discount;
		this.count = count;

		this.remark = remark;
	}

	private final String remark;

	private final double price;

	private final double discount;

	public int getProductType() {
		return productType;
	}

	public String getProductName() {
		return productName;
	}

	public int getCount() {
		return count;
	}

	public String getRemark() {
		return remark;
	}

	public double getPrice() {
		return price;
	}

	public double getDiscount() {
		return discount;
	}
}
